home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / cool / cool.lha / ice / pisces / par / par.h < prev   
Encoding:
C/C++ Source or Header  |  1991-09-04  |  938 b   |  49 lines

  1. /*
  2. // Copyright (C) 1991 Texas Instruments Incorporated.
  3. //
  4. // Permission is granted to any individual or institution to use, copy, modify,
  5. // and distribute this software, provided that this complete copyright and
  6. // permission notice is maintained, intact, in all copies and supporting
  7. // documentation.
  8. //
  9. // Texas Instruments Incorporated provides this software "as is" without
  10. // express or implied warranty.
  11. */
  12.  
  13. #include <stdio.h>
  14. #include <ctype.h>
  15.  
  16. #ifdef VMS
  17. #include <types.h>
  18. #include <stat.h>
  19. #else
  20. #ifdef os2
  21. #include <sys\types.h>
  22. #include <fcntl.h>
  23. #include <sys\stat.h>
  24. #else
  25. #include <sys/types.h>
  26. #include <fcntl.h>
  27. #include <sys/stat.h>
  28. #endif
  29. #endif
  30.  
  31. #define MAXFILES    512
  32. #define    TRUE        1
  33. #define    FALSE        0
  34.  
  35. typedef    unsigned char boolean;
  36.  
  37. struct filepointer {
  38.     char    *f_p;
  39.     char    *f_base;
  40.     char    *f_end;
  41.     long    f_len;
  42.     long    f_line;
  43. };
  44.  
  45. char            *malloc();
  46. char            *realloc();
  47. char            *getline();
  48. struct filepointer    *getfile();
  49.